Pronamic\WordPress\Pay\Gateways\Mollie\Gateway D

Total Complexity 222
Dependencies 41
Dependents 1
Total lines 1,730
Lines of code 947
Logical lines of code 607
Comment lines 415
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
update_payment_from_mollie_payment()
D
17
67 228
get_payment_request()
C
33 22 101
maybe_enrich_payment_methods()
B
42 17 47
create_customer_for_payment()
A
44 13 42
has_valid_mandate()
A
48 12 32
get_order_request()
A
43 8 47
get_webhook_url()
A
48 8 35
copy_customer_id_to_wp_user()
A
48 8 34
update_subscription_mandate()
A
49 8 30
maybe_create_shipment_for_payment()
A
46 7 40
start_payment()
S
46 6 39
process_direct_debit_mandate_from_bank_details()
S
48 6 36
get_customer_ids_for_payment()
S
56 5 19
get_first_existing_customer_id()
S
57 5 18
get_retry_seconds()
S
61 5 13
__construct()
S
39 1 71
get_resource_for_payment()
S
54 3 25
create_refund()
S
57 3 17
start()
S
61 3 13
start_order()
S
61 3 12
update_status()
S
67 2 8
get_payment_methods()
S
69 2 7
get_customer_id_for_subscription()
S
69 2 7
get_ideal_issuers()
S
67 2 8
get_mode()
S
79 2 3
get_customer_id_for_payment()
S
73 1 5
get_customer_ids_for_user()
S
64 1 10